from django.urls import path
from .views import *
urlpatterns = [
    path('check/username/<str:username>/',CheckUsername.as_view()),
    # 检验手机号
    path('check/mobile/<str:mobile>/',CheckMobile.as_view()),
    # 图片验证码
    path('image_code/<str:uuid>/',GenImageCode.as_view()),
    # 校验图片验证码
    path("check_image_code/",CheckImageCode.as_view()),
    # 用户注册
    path("register/",Register.as_view()),
    # 用户登录
    path("login/", Login.as_view()),
    # 退出登录
    path("logout/", Logout.as_view()),

]